export function formatDate(date){
    var data =new Date(date)
    var year = data.getFullYear(),
　　month = data.getMonth() + 1,
　　date = data.getDate(),
　　hour = data.getHours(),
　　minute = data.getMinutes(),
　　second = data.getSeconds();
return year + "-" + month + "-" + date + " " + hour + ":" + minute + ":" + second;
};

